#detail {
  width: 100%;
  .top {
    height: 0.32rem;
  }
  .toplist {
    width: 100%;
    height: 0.32rem;
    background-image: linear-gradient(180deg, #ff6040 0%, #ff8a80 100%);
    box-shadow: 0 0.02rem 0.06rem 0 rgba(255, 149, 128, 0.5);
    position: fixed;
    z-index: 999;
    top: 0.44rem;
    ul {
      height: 0.32rem;
      display: flex;
      padding: 0 0.33rem;
      justify-content: space-between;
      align-items: center;
      li {
        font-size: 0.14rem;
        color: #fff3f2;
        text-align: center;
        line-height: 0.16rem;
        position: relative;
        &.active {
          font-size: 0.16rem;
          color: #ffffff;
          line-height: 0.16rem;
        }
        .bar {
          position: absolute;
          bottom: -0.08rem;
          left: 50%;
          margin-left: -0.1rem;
          width: 0.2rem;
          height: 0.02rem;
          background: #ffffff;
          border-radius: 0.01rem;
        }
      }
    }
  }
  .mainpic {
    width: 100%;
    height: 3.75rem;
    background: white;
    overflow: hidden;
    position: relative;
    img {
      height: 100%;
    }
    .icon {
      display: inline-block;
      background: rgb(51, 51, 51);
      opacity: 0.8;
      position: absolute;
      z-index: 10;
      &.i1 {
        width: 0.24rem;
        height: 0.24rem;
        border-radius: 50%;
        right: 0.1rem;
        top: 0.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        i {
          color: white;
        }
      }
      &.i2 {
        width: 0.4rem;
        height: 0.18rem;
        border-radius: 999rem;
        right: 0.1rem;
        bottom: 0.1rem;
        text-align: center;
        line-height: 0.18rem;
        span {
          color: white;
        }
      }
    }
  }
  .infobox {
    width: 100%;
    height: 1.45rem;
    background: white;
    padding: 0.1rem 0.1rem 0;
    .pricebox {
      .price {
        font-size: 0.3rem;
        color: #ff6040;
        line-height: 0.24rem;
      }
      .mprice {
        font-size: 0.14rem;
        color: #999999;
        line-height: 0.12rem;
        text-decoration: line-through;
      }
      .star {
        text-align: center;
        transform: scale(0.83);
        p,
        i {
          color: #ff6040;
        }
      }
      .yuan::before {
        content: "￥";
        font-size: 0.14rem;
      }
    }
    .namebox {
      margin-bottom: 0.15rem;
      .itemname {
        height: 0.16rem;
        line-height: 0.16rem;
        font-size: 0.16rem;
      }
      .iteminfo {
        height: 0.14rem;
        line-height: 0.14rem;
        font-size: 0.14rem;
        color: #999999;
        margin-top: 0.05rem;
      }
    }
    .time1 {
      width: 1.1rem;
      height: 0.16rem;
      background: #ff8066;
      transform: scale(0.83);
      transform-origin: left top;
      p {
        margin: 0 auto;
        color: white;
        line-height: 0.16rem;
        text-align: center;
      }
    }
    .time2 {
      margin-top: 0.1rem;
      height: 0.2rem;
      line-height: 0.2rem;
      padding: 0 0.05rem;
      background: #f2f2f2;
      position: relative;
      .t1 {
        display: inline-block;
        color: #999999;
        transform-origin: left center;
        transform: scale(0.83);
      }
      .t2 {
        display: inline-block;
        color: #ff6040;
        transform-origin: left center;
        transform: scale(0.83);
        position: absolute;
        right: 0;
        i {
          color: #ff6040;
        }
      }
    }
  }
  .selectbox {
    // height: 3rem;
    background: white;
    margin-top: 0.1rem;
    overflow: hidden;
    padding: 0.1rem 0 0.1rem 0.1rem;
    .left {
      margin-right: 0.2rem;
      height: 0.35rem;
      line-height: 0.35rem;
    }
    .right {
      border-bottom: 1px solid #cccccc;
      padding-right: 0.1rem;
      width: 3.2rem;
      height: 0.35rem;
      line-height: 0.35rem;
      span {
        font-size: 12px;
        color: #666666;
      }
      .lingquan {
        height: 0.35rem;
        display: flex;
        align-items: center;
        p {
          width: 0.39rem;
          height: 0.16rem;
          line-height: 0.16rem;
          text-align: center;
          color: #663014;
          background-image: url("../img/pic/label/commodity/coupon/full.png");
          margin-right: 0.1rem;
        }
      }
    }
  }
  .detailbox {
    margin-top: 0.1rem;
    background: white;
    padding: 0.1rem;
    .title {
      font-size: 0.16rem;
      margin-bottom: 0.15rem;
    }
  }
  .footer {
    height: 0.5rem;
  }
  .bottom {
    width: 100%;
    height: 0.49rem;
    background: #ffffff;
    box-shadow: 0 -0.05rem 0.1rem 0 rgba(204, 204, 204, 0.2), 0 0 0 0 #cccccc;
    position: fixed;
    z-index: 999;
    bottom: 0;
    display: flex;
    .box1 {
      width: 1.55rem;
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      .icon {
        width: 0.3rem;
        height: 0.35rem;
        text-align: center;
        img {
          width: 0.2rem;
          height: 0.2rem;
        }
        p {
          text-align: center;
          margin: 0 auto;
          line-height: 0.12rem;
          width: 120%;
          height: 0.12rem;
          transform-origin: left top;
          transform: scale(0.83);
        }
      }
    }
    .box2 {
      flex: 1;
      background: #ffcc66;
      text-align: center;
      line-height: 0.49rem;
      font-size: 0.16rem;
      color: #663014;
    }
    .box3 {
      flex: 1;
      background: #ff6040;
      text-align: center;
      line-height: 0.49rem;
      font-size: 0.16rem;
      color: white;
    }
  }
}
